<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Demo.Models.Post>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
	<title>Show</title>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2><%= Html.Encode(Model.Title) %></h2>

	<div id="post_body">
		<%= Html.Encode(Model.Content) %>
	</div>
	
    <p id="context_navigation">
        <%=Html.ActionLink("Edit", "Edit", new { id=Model.Id }) %> |
        <%=Html.ActionLink("Back to List", "Index") %>
    </p>
    
</asp:Content>

